home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 31 / Amiga Format CD31 (1998-09-02)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1998-10].iso / -seriously_amiga- / hardware / transadf / source / args.h < prev    next >
C/C++ Source or Header  |  1998-07-20  |  2KB  |  60 lines

  1. /* args.h - Header file for args.c
  2. ** Copyright (C) 19xx  Karl J. Ots
  3. ** 
  4. ** This program is free software; you can redistribute it and/or modify
  5. ** it under the terms of the GNU General Public License as published by
  6. ** the Free Software Foundation; either version 2 of the License, or
  7. ** (at your option) any later version.
  8. ** 
  9. ** This program is distributed in the hope that it will be useful,
  10. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ** GNU General Public License for more details.
  13. ** 
  14. ** You should have received a copy of the GNU General Public License
  15. ** along with this program; if not, write to the Free Software
  16. ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  17. */
  18.  
  19. #ifndef TRANSADF_ARGS_H
  20. #define TRANSADF_ARGS_H
  21.  
  22. #ifndef EXEC_TYPES_H
  23. #include <exec/types.h>
  24. #endif /* EXEC_TYPES_H */
  25.  
  26.  
  27. /*---------------------------------*/
  28. /* Global variables and structures */
  29. /*---------------------------------*/
  30.  
  31. extern const char TA_Template[];
  32.  
  33. struct TA_Args {
  34.   STRPTR  Drive;            /* Drive we will be operatin on               */
  35.   STRPTR  File;             /* File we will be operatin on                */
  36.   ULONG   Start;            /* Track to start operation (inclusive)       */
  37.   ULONG   End;              /* Track to end operation (inclusive)         */
  38.   BOOL    WriteDisk;        /* TRUE if we're writing to Disk              */
  39.   BOOL    Verify;           /* TRUE if we're verifiying WriteDisk         */
  40.   
  41.   BOOL    ZLib;             /* TRUE if we're writing to a ZLib file       */
  42.   BOOL    GZip;             /* TRUE if we're writing to a GZip file       */
  43.   BOOL    PKZip;            /* TRUE if we're writing to a PKZip file      */
  44.   BOOL    PKZAdd;           /* TRUE if we're adding to above PKZip file   */
  45.   
  46.   STRPTR  OrigName;         /* Original filename to store in PK/GZip file */
  47.   ULONG   Level;            /* Compression level                          */
  48. };
  49.   
  50.  
  51.  
  52. /*---------------------*/
  53. /* Function Prototypes */
  54. /*---------------------*/
  55.  
  56. struct TA_Args *getArgs (void);
  57.  
  58.  
  59. #endif /* TRANSADF_ARGS_H */
  60.